package com.njwb.dao.impl;

import com.njwb.dao.UserDao;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

//@Component   //相当于  <bean   class = "....UserDaoImpl">  少了 id 或 name  默认的名称  类名的首字母小写形式 userDaoImpl
//@Component("userDao")//当成id或者name
@Repository("userDao")
//@Service("userDao")
//@Controller("userDao")
public class UserDaoImpl implements UserDao {
}
